// ClockAlarmDlg.h : header file
//

#if !defined(AFX_CLOCKALARMDLG_H__D93B6550_713F_4EA0_8264_9AF3B8D37831__INCLUDED_)
#define AFX_CLOCKALARMDLG_H__D93B6550_713F_4EA0_8264_9AF3B8D37831__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CClockAlarmDlg dialog


/////////////////////////////////////////////////////////////////////////////
// CDdddddApp message handlers

class CClockAlarmDlg : public CDialog
{
public:
	CTimeSpan timeSpain;
// Construction
public:
	void playMp3Alarm(CString strFileName);
	void Alarm();
	CClockAlarmDlg(CWnd* pParent = NULL);	// standard constructor
BOOL MyTaskBarAddIcon(HWND hwnd, UINT uID, HICON hicon,LPSTR lpszTip);
BOOL MyTaskBarDeleteIcon(HWND hwnd, UINT uID);

// Dialog Data
	//{{AFX_DATA(CClockAlarmDlg)
	enum { IDD = IDD_CLOCKALARM_DIALOG };
	CTime	m_time;
	UINT	m_hour;
	UINT	m_minutes;
	UINT	m_seconds;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CClockAlarmDlg)
	public:
	virtual BOOL DestroyWindow();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
	CString strAlartFileName;
	// Generated message map functions
	//{{AFX_MSG(CClockAlarmDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnRadio1();
	afx_msg void OnRadio2();
	afx_msg void OnStart();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnMyIconNotify(WPARAM wParam, LPARAM lParam); 
	afx_msg void OnButOk();
	afx_msg void OnButBrows();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CLOCKALARMDLG_H__D93B6550_713F_4EA0_8264_9AF3B8D37831__INCLUDED_)
